CSci 311, Models of Computation Chapter 8 Properties of Context-Free Languages
نویسنده
چکیده
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 8.1 Two Pumping Lemmas . . . . . . . . . . . . . . . . . . . . . . . . 1 8.1.1 Context-Free Languages . . . . . . . . . . . . . . . . . . . 2 8.1.2 Linear Languages . . . . . . . . . . . . . . . . . . . . . . . 2 8.2 Closure Properties and Decision Algorithms for Context-Free Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 8.2.1 Closure under Union, Concatenation, and Star-Closure . . 3 8.2.2 Non-Closure under Intersection and Complementation . . 4 8.2.3 Closure under Regular Intersection . . . . . . . . . . . . . 6 8.2.4 Linz Example 8.7 . . . . . . . . . . . . . . . . . . . . . . . 7 8.2.5 Linz Example 8.8 . . . . . . . . . . . . . . . . . . . . . . . 8 8.2.6 Some Decidable Properties of Context Free Languages . . 8 Copyright (C) 2015, H. Conrad Cunningham Acknowledgements: These lecture notes are for use with Chapter 8 of the textbook: Peter Linz. Introduction to Formal Languages and Automata, Fifth Edition, Jones and Bartlett Learning, 2012. The terminology and notation used in these notes are similar to those used in the Linz textbook. This document uses several figures from the Linz textbook. Advisory: The HTML version of this document requires use of a browser that supports the display of MathML. A good choice as of December 2015 seems to be a recent version of Firefox from Mozilla.
منابع مشابه
A Theory of Computation Based on Quantum Logic
The (meta)logic underlying classical theory of computation is Boolean (twovalued) logic. Quantum logic was proposed by Birkhoff and von Neumann as a logic of quantum mechanics about 70 years ago. It is currently understood as a logic whose truth values are taken from an orthomodular lattice. The major difference between Boolean logic and quantum logic is that the latter does not enjoy distribut...
متن کاملProbability Models for Complex Systems
of “Probability Models for Complex Systems,” by Zhiyi Chi, Ph.D., Brown University, May 1998 This thesis is a collection of essays on probability models for complex systems. Chapter 1 is an introduction to the thesis. The main point made here is the importance of probabilistic modeling to complex problems of machine perception. Chapter 2 studies minimum complexity regression. The results includ...
متن کاملOne-stack Automata as Acceptors of Context-free Languages*
This paper presents one-stack automata as acceptors of context-free languages; these are equivalent to Pushdown Automata which are well known in automata theory. As equivalence relations such as equivalence of Turing Machines and two-stack Pushdown Automata help in learning general properties of formal modeling, the equivalence relation of Pushdown Automata and one-stack automata also helps in ...
متن کاملMildly Context-Sensitive Languages via Buffer Augmented Pregroup Grammars
A family of languages is called mildly context-sensitive if – it includes the family of all -free context-free languages; – it contains the languages • {anbncn : n ≥ 1} – multiple agreement, • {ambncmdn : m,n ≥ 1} – crossed dependencies, and • {ww : w ∈ Σ+} – reduplication; – all its languages are semi-linear; and – their membership problem is decidable in polynomial time. In our paper we intro...
متن کاملA hierarchical graph model of the
The problem of developing an adequate formal model for the semantics of programming languages has been under intensive study in recent years. Unlike the area of syntax specification, where adequate models have existed for some time, the area of semantic specification is still in the formative stages. Development of formal semantic models has proceeded along two main lines, lambda-calculus model...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2015